<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>15-元素本身隐藏</title>
		<style type="text/css">
			.box{
				width:200px;
				height:200px;
				background:red;
				margin:30px auto;
			}
			.box .son{
				width:100px;
				height:100px;
				background:blue;
				/* 占着位置，隐藏元素本身 */
				/* visibility: hidden; */
				/* 不占位置，标签都消失了 */
				display: none;
			}
			
			.box:hover .son{
				display: block;
			}
		</style>
	</head>
	<body>
		
		<div class="box">
			<div class="son"></div>
		</div>
	</body>
</html>
